import request from '@/utils/request'

// 查询财神订单列表
export function listAscoOrder(query) {
  return request({
    url: '/app/ascoOrder/list',
    method: 'get',
    params: query
  })
}

// 查询财神订单详细
export function getAscoOrder(id) {
  return request({
    url: '/app/ascoOrder/' + id,
    method: 'get'
  })
}

// 新增财神订单
export function addAscoOrder(data) {
  return request({
    url: '/app/ascoOrder',
    method: 'post',
    data: data
  })
}

// 修改财神订单
export function updateAscoOrder(data) {
  return request({
    url: '/app/ascoOrder',
    method: 'put',
    data: data
  })
}

// 删除财神订单
export function delAscoOrder(id) {
  return request({
    url: '/app/ascoOrder/' + id,
    method: 'delete'
  })
}

// 清空记录
export function handleDeleteAll(){
  return request({
    url: '/app/ascoOrder/clean',
    method: 'delete'
  })
}

